# Dockerfile.worker
FROM langgenius/dify-api:1.2.0

##CAE_COMMON_VARS_PLACE_HOLDER##

##DIFY_COMMON_VARS_PLACE_HOLDER##

ENV MODE=worker \
    SENTRY_DSN=${API_SENTRY_DSN:-} \
    SENTRY_TRACES_SAMPLE_RATE=${API_SENTRY_TRACES_SAMPLE_RATE:-1.0} \
    SENTRY_PROFILES_SAMPLE_RATE=${API_SENTRY_PROFILES_SAMPLE_RATE:-1.0} \
    PLUGIN_MAX_PACKAGE_SIZE=${PLUGIN_MAX_PACKAGE_SIZE:-52428800} \
    INNER_API_KEY_FOR_PLUGIN=${PLUGIN_DIFY_INNER_API_KEY:-QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1}

VOLUME /app/api/storage